package com.forlgb.powercloud.seata.storage.service;

import com.forlgb.powercloud.seata.common.dto.CommodityDTO;
import com.forlgb.powercloud.seata.common.response.ObjectResponse;
import com.forlgb.powercloud.seata.storage.entity.TStorage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lyk
 * @since 2021-07-28
 */
public interface ITStorageService extends IService<TStorage> {
    /**
     * 扣减库存
     */
    ObjectResponse decreaseStorage(CommodityDTO commodityDTO);
}
